import React from "react";
import { connect } from 'react-redux'
import Userlist from "./home/Userlist";
import Adduser from "./home/Adduser";
// import MovieTable from "./home/MovieTable";
import MvieTables from "./home/MvieTables";
import { Route, Routes } from 'react-router-dom'

function Home(props) {
    console.log('props', props);
    return (
        <>
            Home
            <Routes>

                <Route path="user/userlist" element={<Userlist />}></Route>
                <Route path="user/adduser" element={<Adduser />}></Route>
                <Route path="user/edit" element={<Adduser />}></Route>
                {/* <Route path="movie/movielist" element={<MovieTable />}></Route> */}
                <Route path="movie/movielist/*" element={<MvieTables />}></Route>
            </Routes>
        </>
    )
}
export default Home